<?php

namespace App\Http\Controllers;

use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Carbon\Carbon;
use Illuminate\Http\Request;

class Controller extends BaseController
{
    use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
    public $nowTime = null;
    public $nowDate = null;
    public $request = null;

    public function __construct(Request $request)
    {
        $this->request = $request;
        $this->nowDate = Carbon::now()->toDateString();
        $this->nowTime = Carbon::now()->toTimeString();
    }
}
